package com.tarena.day0911;

public class b {

	/**
	 * @param Array
	 */
	public static void main(String[] args) {
		int[] arr = new int[10];
		for (int i = 0; i < 3; i++)
			System.out.println(arr[i]);

		double[] arr1 = new double[10];
		for (int i = 0; i < 3; i++)
			System.out.println(arr1[i]);

		int[] b = { 1, 5, 6, 8, 7 };
		for (int i = 0; i < 5; i++)
			System.out.println(b[i]);

		int[] c = new int[] { 1, 2, 3, 4, 5 };
		int len=c.length;
		System.out.println("len="+len);//len=5
		
		int tem=c[3];
		System.out.println(tem);//4
		
	}

}
